import axios from 'axios';

export const addTag = body => {
  return axios.post('/api/tag/addTag', body);
};

export const updateTag = body => {
  return axios.post('/api/tag/modTag', body);
};

export const deleteTag = body => {
  return axios.post('/api/tag/deleteTag', body);
};

export const loadTagsList = () => {
  return axios.get('/api/tag/listTag');
};
